package com.sc.nft.entity.vo;

import cn.hutool.core.util.StrUtil;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class ZhiTanUserHoldVO {

    @ApiModelProperty("藏品id")
    @JsonProperty("id")
    private Long id;

    @ApiModelProperty("藏品编号")
    @JsonProperty("no")
    private Integer no;

    @ApiModelProperty("买入价")
    @JsonProperty("buy_price")
    private BigDecimal buyPrice;

    @ApiModelProperty("买入时间")
    @JsonProperty("buy_time")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date buyTime;

}
